#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : xuexiaohua
# @time    : 2025/8/23 16:43
# @function: the script is used to do something.
# @version :
import os

from netPan123.utils.file_util import FileUtil
from netPan123.utils.time_util import TimeUtil

# 设置当前文件的所在目录(固定路径相对起始位置)
PROJECT_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
print(PROJECT_ROOT_DIR)

todayStr = TimeUtil.localtime_to_str("%Y%m%d")
USER_File_PATH = os.path.join(PROJECT_ROOT_DIR, 'temp', todayStr)
FileUtil.create_folder(USER_File_PATH)
print(USER_File_PATH)